package com.qining618.cms.ucenter.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @author flt
 * @date 2019-09-23
 */
public enum UserAuthTypeEnum implements IEnum {
    WECHAT_MINI(1, "微信小程序"),
    WECHAT_APP(2, "微信APP"),
    WECHAT_MP(3, "微信公众号"),
    ;

    private final int code;
    private final String label;

    UserAuthTypeEnum(int code, String label) {
        this.code = code;
        this.label = label;
    }

    @Override
    public Integer getValue() {
        return this.code;
    }

    public int getCode() {
        return code;
    }

    public String getLabel() {
        return label;
    }
}
